package ch.cm.ctrlurhome.gcm;

import java.io.IOException;

import org.apache.log4j.PropertyConfigurator;

import ch.cm.ctrlurhome.gcm.sender.Push2AndroidSender;


public class StarterCtrlURHomeGCMSender {
    
    private static final String SENDER_ID = "AIzaSyBmlP-nS99mvc9qyz70DVQkZBYDDoDxkzw";
    //private static final String DROID_BIONIC = "APA91bE4M7jxtRB4bP-rSZguo-W-4hNgIWcJ6s2IVA6_4Bh-puxivWcbd2xEsIRJEiCpgXc_bbCQbDponZxxvrq4VFn95CczqP8cpBxP9ymrdx1BhxtSbtuxzYUqcY5Jqj06VfeIswZ__Ujih7eLV3lSlu5UTp2MxA";
    private static final String DROID_BIONIC = "APA91bFeSb8DsPDw6780EF0Dd2PgcpaulTFFsrC1G_eTAXZrWwv0yPLH8WwaHLwIoPcZGaE-8BIfmkoykFH5jdstPKeTiFmTGsVC44O5AwoeT4FJ2h1XDteP7VQQ8eKf8NYYOMjV_PJgYpJhXbrC4fg-sJWaHxS5NA";
    private static final String LOG4J_Properties_FILE = "resources/log4j.properties";

    
    public static void main(String[] args) throws IOException {
        PropertyConfigurator.configureAndWatch(LOG4J_Properties_FILE);
        Push2AndroidSender androidSender = new Push2AndroidSender(SENDER_ID);
        androidSender.sendMessage2singleMobile(DROID_BIONIC, "BUBU mAVEN");
    }
}
